//
//  ChooseComTypeView.h
//  WeCommunity
//
//  Created by mac on 2017/6/14.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TopChannelContianerViewDelegate <NSObject>

@optional
- (void)chooseChannelWithIndex:(NSInteger)index;

@end


@interface ChooseComTypeView : UIView

@property (nonatomic, strong) NSArray *channelNameArray;

@property (nonatomic) id<TopChannelContianerViewDelegate> delegate;

-(instancetype)initWithFrame:(CGRect)frame;

#pragma mark 选中某个ChannelButton
- (void)didSelectChannelButtonWithIndex:(NSInteger)index;


@end
